package com.qiye.livevideo.dao;
import com.qiye.livevideo.common.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import com.qiye.livevideo.model.ApiCount;
import org.apache.ibatis.annotations.Param;


/**
 * Created on 2019/4/30.
 *
 * @author meishijun
 */
@Mapper
public interface ApiCountDao  extends BaseDao<ApiCount> {
    /**
     * 根据时间查询接口调用次数
     * @param createTime
     * @return
     */
    ApiCount selectByCreateTime(@Param("createTime") String createTime);

    /**
     * 根据id修改
     * @param id
     * @return
     */
    int updateCountById(@Param("id") Integer id);


}
